home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Libris Britannia 4
/
science library(b).zip
/
science library(b)
/
PROGRAMM
/
CC_C
/
0294.ZIP
/
ABOUT.DAT
< prev
next >
Wrap
Text File
|
1985-05-09
|
7KB
|
515 lines
:ci
char ci()
:co
void co(c)
char c;
:csts
char csts()
:getchar
int getchar()
:gets
char *gets(s)
char *s;
:putchar
putchar(c)
char c;
:puts
void puts(string)
char *string;
:close
int close(fd)
int fd;
:creat
int creat(filename)
char *filename;
:fclose
int fclose(fd)
int fd;
:fgetc
int fgetc(fd)
int fd;
:fgets
char *fgets(s, size, fd)
char *s;
int size, fd;
:fopen
int fopen(filename, type)
char *filename, *type;
:fputc
int fputc(c, fd)
char c;
int fd;
:fputs
int fputs(c, fd)
char c;
int fd;
:fread
int fread(buf, size, count, fd)
char *buf;
int size, count, fd;
:fseek
long fseek(fd, offset, mode)
int fd, mode;
long offset;
:fwrite
int fwrite(buf, size, count, fd)
char *buf;
int size, count, fd;
:getc
int getc(fd)
int fd;
:getw
int getw(fd)
int fd;
:lseek
long lseek(fd, offset, mode)
int fd, mode;
long offset;
:open
int open(filename, mode)
char *filename;
int mode;
:putc
int putc(c, fd)
char c;
int fd;
:putw
int putw(n, fd)
int n, fd;
:read
int read(fd, buf, size)
int fd, size;
char *buf;
:rename
int rename(oldf, newf)
char *oldf, *newf;
:rewind
long rewind(fd)
int fd;
:ungetc
void ungetc(c, fd)
char c;
int fd;
:unlink
int unlink(filename)
char *filename;
:write
int write(fd, buf, count)
int fd, count;
char *buf;
:scanf
void scanf(format, arg1, arg2, ...)
char *format;
union datatype *arg1, *arg2, ...;
:fscanf
int fscanf(fd, format, arg1, arg2, ...)
int fd;
char *format;
union datatype *arg1, *arg2, ...;
:sscanf
void sscanf(s, format, arg1, arg2, ...);
char *s, *format;
union datatype *arg1, *arg2, ...;
:printf
void printf(format [, arg1, arg2, ...])
char *format;
:fprintf
int fprintf(fd, format [, arg1, arg2, ...])
int fd;
char *format;
:sprintf
void sprintf(s, format [, arg1, arg2, ...])
char *s, *format;
:freeall
void freeall(size)
unsigned size;
:malloc
char *malloc(size)
unsigned size;
:free
int free(pseg)
char *pseg;
:realloc
char *realloc(pseg, size)
char *pseg;
unsigned size;
:calloc
char *calloc(count, sizeEach)
unsigned count, sizeEach;
:_memory
char *_memory()
:_showsp
char *_showsp()
:_setsp
void _setsp(offset)
unsigned offset;
:_showds
unsigned _showds()
:_showcs
unsigned _showcs()
:_inb
char _inb(port)
unsigned port;
:_inw
unsigned _inw(port)
unsigned port;
:_move
void _move(count, fromOff, toOff)
unsigned count;
char *fromOff, *toOff;
:_lmove
void _lmove(count, fromOff, fromSeg, toOff, toSeg)
unsigned count, fromSeg, toSeg;
char *fromOff, *toOff;
:_outb
void _outb(c, port)
char c;
unsigned port;
:_outw
void _outw(u, port)
unsigned u, port;
:_peek
char _peek(off, seg)
char *off;
unsigned seg;
:_poke
void _poke(c, off, seg)
char c, *off;
unsigned seg;
:_setmem
void _setmem(off, count, c)
char *off, c;
unsigned count;
:abs
unsigned abs(n)
int n;
:acos
double acos(x)
double x;
:asin
double asin(x)
double x;
:atan
double atan(x)
double x;
:ceil
double ceil(x)
double x;
:cos
double cos(x)
double x;
:exp
double exp(x)
double x;
:exp10
double exp10(x)
double x;
:fabs
double fabs(x)
double x;
:floor
double floor(x)
double x;
:log
double log(x)
double x;
:log10
double log10(x)
double x;
:pow
double pow(x)
double x;
:sin
double sin(x)
double x;
:sqrt
double sqrt(x)
double x;
:tan
double tan(x)
double x;
:chain
void chain(filename, commandTail)
char *filename, *commandTail;
:dates
void dates(buf)
char *buf;
:_doint
void _doint(interruptNum)
int interruptNum;
:exec
int exec(filename, commandTail)
char *filename, commandTail;
:exit
void exit(completionCode)
int completionCode;
:longjmp
void longjmp(0, id)
int id;
:moverlay
int moverlay(overlayNum)
int overlayNum;
:overlay
int overlay(overlayNum)
int overlayNum;
:overlay_init
int overlay_init(filename)
char *filename;
:_os
int _os(ah, dx)
int ah, dx;
:setjmp
int setjmp(0)
:times
void times(buf)
char *buf;
:isalnum
int isalnum(c)
char c;
:isalpha
int isalpha(c)
char c;
:isascii
int isascii(c)
char c;
:iscntrl
int iscntrl(c)
char c;
:isdigit
int isdigit(c)
char c;
:islower
int islower(c)
char c;
:isupper
int isupper(c)
char c;
:isprint
int isprint(c)
char c;
:ispunct
int ispunct(c)
char c;
:isspace
int isspace(c)
char c;
:tolower
char tolower(c)
char c;
:toupper
char toupper(c)
char c;
:atoi
int atoi(s)
char *s;
:atof
double atof(s)
char *s;
:atol
long atol(s)
char *s;
:index
char *index(s, c)
char *s, c;
:rindex
char *rindex(s, c)
char *s, c;
:strcat
char *strcat(toString, fromString)
char *toString, *fromString;
:strcmp
int strcmp(leftString, rightString)
char *leftString, *rightString;
:strcpy
char *strcpy(toString, fromString)
char *toString, *fromString;
:strlen
unsigned strlen(s)
char *s;
:strncat
char *strncat(toString, fromString, maxCount)
char *toString, *fromString;
int maxCount;
:strncmp
int *strncmp(leftString, rightString, maxCount)
char *leftString, *rightString;
int maxCount;
:strncpy
char *strncpy(toString, fromString, maxCount)
char *toString, *fromString;
int maxCount;
:srand
void srand(seed)
int seed;
:rand
unsigned rand()
:frand
double frand()
:qsort
void qsort(array, elementCount, elementSize, compareFunc)
char *array;
int elementCount, elementSize, (*compareFunc)();
:scr_setup
void scr_setup()
:scr_setmode
void scr_setmode(mode)
char mode;
:scr_rowcol
void scr_rowcol(row, col)
char row, col;
:scr_clr
void scr_clr()
:scr_clrl
void scr_clrl()
:scr_cls
void scr_cls
:scr_scup
void scr_scup()
:scr_scrup
void scr_scrup(numLines, fromRow, fromCol, toRow, toCol)
char numLines, fromRow, fromCol, toRow, toCol;
:scr_scdn
void scr_scdn()
:scr_scrdn
void scr_scrdn(numLines, fromRow, fromCol, toRow, toCol)
char numLines, fromRow, fromCol, toRow, toCol;
:scr_co
void scr_co(c)
char c;
:scr_ci
char scr_ci()
:scr_csts
char scr_csts()
:scr_sinp
char scr_sinp()
:scr_cursoff
void scr_cursoff()
:scr_curson
void scr_curson()